package com.wxapp.custom.service;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author lgl
 * @Description 启动
 * @Datetime 2022/10/12 11:41
 * @Modified By
 */
@SpringBootApplication(scanBasePackages = "com.wxapp")
@EnableDiscoveryClient
@ConfigurationPropertiesScan
@EnableTransactionManagement
@EnableAsync
@EnableAutoDataSourceProxy
@EnableFeignClients("com.wxapp.custom.api.feign")
public class CustomStart {
    public static void main(String[] args) {
        SpringApplication.run(CustomStart.class, args);
    }
}
